
module.exports=(sequelize,type)=>{
  return sequelize.define('userinfo',{
    uuid:{
      type: type.STRING,
      primaryKey:true
    },
    name: {
      type: type.STRING,
      field: 'first_name'
    },
    age: {
      type: type.INTEGER,
    },
    record: {
      type: type.STRING,
    },
    school: {
      type: type.STRING,
    },
    schoolurl: {
      type: type.STRING,
      field: 'school_url'
    },
    phone: {
      type: type.STRING,
    },
    experience: {
      type: type.INTEGER,
    },
  },{
    freezeTableName: true
  })
}